var test1 = Boolean(true);
var test2 = Boolean(false);
var test3 = new Date();
var test4 = String("999");
var test5 = String("999.86465");
var test6 = String("999 888");

document.write(Number(test1)+ "<br />");
document.write(Number(test2)+ "<br />");
document.write(Number(test3)+ "<br />");
document.write(Number(test4)+ "<br />");
document.write(Number(test5)+ "<br />");
document.write(Number(test6)+ "<br />");
-------------------------------------------------------

